package cn.uexpo.lhz.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EquipmentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EquipmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("equipment.id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("equipment.id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("equipment.id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("equipment.id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("equipment.id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("equipment.id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("equipment.id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("equipment.id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("equipment.id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("equipment.id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("equipment.id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("equipment.id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCameranameIsNull() {
            addCriterion("equipment.cameraName is null");
            return (Criteria) this;
        }

        public Criteria andCameranameIsNotNull() {
            addCriterion("equipment.cameraName is not null");
            return (Criteria) this;
        }

        public Criteria andCameranameEqualTo(String value) {
            addCriterion("equipment.cameraName =", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameNotEqualTo(String value) {
            addCriterion("equipment.cameraName <>", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameGreaterThan(String value) {
            addCriterion("equipment.cameraName >", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameGreaterThanOrEqualTo(String value) {
            addCriterion("equipment.cameraName >=", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameLessThan(String value) {
            addCriterion("equipment.cameraName <", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameLessThanOrEqualTo(String value) {
            addCriterion("equipment.cameraName <=", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameLike(String value) {
            addCriterion("equipment.cameraName like", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameNotLike(String value) {
            addCriterion("equipment.cameraName not like", value, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameIn(List<String> values) {
            addCriterion("equipment.cameraName in", values, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameNotIn(List<String> values) {
            addCriterion("equipment.cameraName not in", values, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameBetween(String value1, String value2) {
            addCriterion("equipment.cameraName between", value1, value2, "cameraname");
            return (Criteria) this;
        }

        public Criteria andCameranameNotBetween(String value1, String value2) {
            addCriterion("equipment.cameraName not between", value1, value2, "cameraname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameIsNull() {
            addCriterion("equipment.equipmentName is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameIsNotNull() {
            addCriterion("equipment.equipmentName is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameEqualTo(String value) {
            addCriterion("equipment.equipmentName =", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameNotEqualTo(String value) {
            addCriterion("equipment.equipmentName <>", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameGreaterThan(String value) {
            addCriterion("equipment.equipmentName >", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameGreaterThanOrEqualTo(String value) {
            addCriterion("equipment.equipmentName >=", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameLessThan(String value) {
            addCriterion("equipment.equipmentName <", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameLessThanOrEqualTo(String value) {
            addCriterion("equipment.equipmentName <=", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameLike(String value) {
            addCriterion("equipment.equipmentName like", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameNotLike(String value) {
            addCriterion("equipment.equipmentName not like", value, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameIn(List<String> values) {
            addCriterion("equipment.equipmentName in", values, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameNotIn(List<String> values) {
            addCriterion("equipment.equipmentName not in", values, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameBetween(String value1, String value2) {
            addCriterion("equipment.equipmentName between", value1, value2, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmentnameNotBetween(String value1, String value2) {
            addCriterion("equipment.equipmentName not between", value1, value2, "equipmentname");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeIsNull() {
            addCriterion("equipment.equipmentType is null");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeIsNotNull() {
            addCriterion("equipment.equipmentType is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeEqualTo(String value) {
            addCriterion("equipment.equipmentType =", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeNotEqualTo(String value) {
            addCriterion("equipment.equipmentType <>", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeGreaterThan(String value) {
            addCriterion("equipment.equipmentType >", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeGreaterThanOrEqualTo(String value) {
            addCriterion("equipment.equipmentType >=", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeLessThan(String value) {
            addCriterion("equipment.equipmentType <", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeLessThanOrEqualTo(String value) {
            addCriterion("equipment.equipmentType <=", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeLike(String value) {
            addCriterion("equipment.equipmentType like", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeNotLike(String value) {
            addCriterion("equipment.equipmentType not like", value, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeIn(List<String> values) {
            addCriterion("equipment.equipmentType in", values, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeNotIn(List<String> values) {
            addCriterion("equipment.equipmentType not in", values, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeBetween(String value1, String value2) {
            addCriterion("equipment.equipmentType between", value1, value2, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andEquipmenttypeNotBetween(String value1, String value2) {
            addCriterion("equipment.equipmentType not between", value1, value2, "equipmenttype");
            return (Criteria) this;
        }

        public Criteria andInstalladdressIsNull() {
            addCriterion("equipment.installAddress is null");
            return (Criteria) this;
        }

        public Criteria andInstalladdressIsNotNull() {
            addCriterion("equipment.installAddress is not null");
            return (Criteria) this;
        }

        public Criteria andInstalladdressEqualTo(String value) {
            addCriterion("equipment.installAddress =", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressNotEqualTo(String value) {
            addCriterion("equipment.installAddress <>", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressGreaterThan(String value) {
            addCriterion("equipment.installAddress >", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressGreaterThanOrEqualTo(String value) {
            addCriterion("equipment.installAddress >=", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressLessThan(String value) {
            addCriterion("equipment.installAddress <", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressLessThanOrEqualTo(String value) {
            addCriterion("equipment.installAddress <=", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressLike(String value) {
            addCriterion("equipment.installAddress like", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressNotLike(String value) {
            addCriterion("equipment.installAddress not like", value, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressIn(List<String> values) {
            addCriterion("equipment.installAddress in", values, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressNotIn(List<String> values) {
            addCriterion("equipment.installAddress not in", values, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressBetween(String value1, String value2) {
            addCriterion("equipment.installAddress between", value1, value2, "installaddress");
            return (Criteria) this;
        }

        public Criteria andInstalladdressNotBetween(String value1, String value2) {
            addCriterion("equipment.installAddress not between", value1, value2, "installaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressIsNull() {
            addCriterion("equipment.ipAddress is null");
            return (Criteria) this;
        }

        public Criteria andIpaddressIsNotNull() {
            addCriterion("equipment.ipAddress is not null");
            return (Criteria) this;
        }

        public Criteria andIpaddressEqualTo(String value) {
            addCriterion("equipment.ipAddress =", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressNotEqualTo(String value) {
            addCriterion("equipment.ipAddress <>", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressGreaterThan(String value) {
            addCriterion("equipment.ipAddress >", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressGreaterThanOrEqualTo(String value) {
            addCriterion("equipment.ipAddress >=", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressLessThan(String value) {
            addCriterion("equipment.ipAddress <", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressLessThanOrEqualTo(String value) {
            addCriterion("equipment.ipAddress <=", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressLike(String value) {
            addCriterion("equipment.ipAddress like", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressNotLike(String value) {
            addCriterion("equipment.ipAddress not like", value, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressIn(List<String> values) {
            addCriterion("equipment.ipAddress in", values, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressNotIn(List<String> values) {
            addCriterion("equipment.ipAddress not in", values, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressBetween(String value1, String value2) {
            addCriterion("equipment.ipAddress between", value1, value2, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andIpaddressNotBetween(String value1, String value2) {
            addCriterion("equipment.ipAddress not between", value1, value2, "ipaddress");
            return (Criteria) this;
        }

        public Criteria andExstr1IsNull() {
            addCriterion("equipment.exStr1 is null");
            return (Criteria) this;
        }

        public Criteria andExstr1IsNotNull() {
            addCriterion("equipment.exStr1 is not null");
            return (Criteria) this;
        }

        public Criteria andExstr1EqualTo(String value) {
            addCriterion("equipment.exStr1 =", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1NotEqualTo(String value) {
            addCriterion("equipment.exStr1 <>", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1GreaterThan(String value) {
            addCriterion("equipment.exStr1 >", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1GreaterThanOrEqualTo(String value) {
            addCriterion("equipment.exStr1 >=", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1LessThan(String value) {
            addCriterion("equipment.exStr1 <", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1LessThanOrEqualTo(String value) {
            addCriterion("equipment.exStr1 <=", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1Like(String value) {
            addCriterion("equipment.exStr1 like", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1NotLike(String value) {
            addCriterion("equipment.exStr1 not like", value, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1In(List<String> values) {
            addCriterion("equipment.exStr1 in", values, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1NotIn(List<String> values) {
            addCriterion("equipment.exStr1 not in", values, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1Between(String value1, String value2) {
            addCriterion("equipment.exStr1 between", value1, value2, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr1NotBetween(String value1, String value2) {
            addCriterion("equipment.exStr1 not between", value1, value2, "exstr1");
            return (Criteria) this;
        }

        public Criteria andExstr2IsNull() {
            addCriterion("equipment.exStr2 is null");
            return (Criteria) this;
        }

        public Criteria andExstr2IsNotNull() {
            addCriterion("equipment.exStr2 is not null");
            return (Criteria) this;
        }

        public Criteria andExstr2EqualTo(String value) {
            addCriterion("equipment.exStr2 =", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2NotEqualTo(String value) {
            addCriterion("equipment.exStr2 <>", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2GreaterThan(String value) {
            addCriterion("equipment.exStr2 >", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2GreaterThanOrEqualTo(String value) {
            addCriterion("equipment.exStr2 >=", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2LessThan(String value) {
            addCriterion("equipment.exStr2 <", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2LessThanOrEqualTo(String value) {
            addCriterion("equipment.exStr2 <=", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2Like(String value) {
            addCriterion("equipment.exStr2 like", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2NotLike(String value) {
            addCriterion("equipment.exStr2 not like", value, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2In(List<String> values) {
            addCriterion("equipment.exStr2 in", values, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2NotIn(List<String> values) {
            addCriterion("equipment.exStr2 not in", values, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2Between(String value1, String value2) {
            addCriterion("equipment.exStr2 between", value1, value2, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr2NotBetween(String value1, String value2) {
            addCriterion("equipment.exStr2 not between", value1, value2, "exstr2");
            return (Criteria) this;
        }

        public Criteria andExstr3IsNull() {
            addCriterion("equipment.exStr3 is null");
            return (Criteria) this;
        }

        public Criteria andExstr3IsNotNull() {
            addCriterion("equipment.exStr3 is not null");
            return (Criteria) this;
        }

        public Criteria andExstr3EqualTo(String value) {
            addCriterion("equipment.exStr3 =", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3NotEqualTo(String value) {
            addCriterion("equipment.exStr3 <>", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3GreaterThan(String value) {
            addCriterion("equipment.exStr3 >", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3GreaterThanOrEqualTo(String value) {
            addCriterion("equipment.exStr3 >=", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3LessThan(String value) {
            addCriterion("equipment.exStr3 <", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3LessThanOrEqualTo(String value) {
            addCriterion("equipment.exStr3 <=", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3Like(String value) {
            addCriterion("equipment.exStr3 like", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3NotLike(String value) {
            addCriterion("equipment.exStr3 not like", value, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3In(List<String> values) {
            addCriterion("equipment.exStr3 in", values, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3NotIn(List<String> values) {
            addCriterion("equipment.exStr3 not in", values, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3Between(String value1, String value2) {
            addCriterion("equipment.exStr3 between", value1, value2, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr3NotBetween(String value1, String value2) {
            addCriterion("equipment.exStr3 not between", value1, value2, "exstr3");
            return (Criteria) this;
        }

        public Criteria andExstr4IsNull() {
            addCriterion("equipment.exStr4 is null");
            return (Criteria) this;
        }

        public Criteria andExstr4IsNotNull() {
            addCriterion("equipment.exStr4 is not null");
            return (Criteria) this;
        }

        public Criteria andExstr4EqualTo(String value) {
            addCriterion("equipment.exStr4 =", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4NotEqualTo(String value) {
            addCriterion("equipment.exStr4 <>", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4GreaterThan(String value) {
            addCriterion("equipment.exStr4 >", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4GreaterThanOrEqualTo(String value) {
            addCriterion("equipment.exStr4 >=", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4LessThan(String value) {
            addCriterion("equipment.exStr4 <", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4LessThanOrEqualTo(String value) {
            addCriterion("equipment.exStr4 <=", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4Like(String value) {
            addCriterion("equipment.exStr4 like", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4NotLike(String value) {
            addCriterion("equipment.exStr4 not like", value, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4In(List<String> values) {
            addCriterion("equipment.exStr4 in", values, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4NotIn(List<String> values) {
            addCriterion("equipment.exStr4 not in", values, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4Between(String value1, String value2) {
            addCriterion("equipment.exStr4 between", value1, value2, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr4NotBetween(String value1, String value2) {
            addCriterion("equipment.exStr4 not between", value1, value2, "exstr4");
            return (Criteria) this;
        }

        public Criteria andExstr5IsNull() {
            addCriterion("equipment.exStr5 is null");
            return (Criteria) this;
        }

        public Criteria andExstr5IsNotNull() {
            addCriterion("equipment.exStr5 is not null");
            return (Criteria) this;
        }

        public Criteria andExstr5EqualTo(String value) {
            addCriterion("equipment.exStr5 =", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5NotEqualTo(String value) {
            addCriterion("equipment.exStr5 <>", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5GreaterThan(String value) {
            addCriterion("equipment.exStr5 >", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5GreaterThanOrEqualTo(String value) {
            addCriterion("equipment.exStr5 >=", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5LessThan(String value) {
            addCriterion("equipment.exStr5 <", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5LessThanOrEqualTo(String value) {
            addCriterion("equipment.exStr5 <=", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5Like(String value) {
            addCriterion("equipment.exStr5 like", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5NotLike(String value) {
            addCriterion("equipment.exStr5 not like", value, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5In(List<String> values) {
            addCriterion("equipment.exStr5 in", values, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5NotIn(List<String> values) {
            addCriterion("equipment.exStr5 not in", values, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5Between(String value1, String value2) {
            addCriterion("equipment.exStr5 between", value1, value2, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr5NotBetween(String value1, String value2) {
            addCriterion("equipment.exStr5 not between", value1, value2, "exstr5");
            return (Criteria) this;
        }

        public Criteria andExstr6IsNull() {
            addCriterion("equipment.exStr6 is null");
            return (Criteria) this;
        }

        public Criteria andExstr6IsNotNull() {
            addCriterion("equipment.exStr6 is not null");
            return (Criteria) this;
        }

        public Criteria andExstr6EqualTo(String value) {
            addCriterion("equipment.exStr6 =", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6NotEqualTo(String value) {
            addCriterion("equipment.exStr6 <>", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6GreaterThan(String value) {
            addCriterion("equipment.exStr6 >", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6GreaterThanOrEqualTo(String value) {
            addCriterion("equipment.exStr6 >=", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6LessThan(String value) {
            addCriterion("equipment.exStr6 <", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6LessThanOrEqualTo(String value) {
            addCriterion("equipment.exStr6 <=", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6Like(String value) {
            addCriterion("equipment.exStr6 like", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6NotLike(String value) {
            addCriterion("equipment.exStr6 not like", value, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6In(List<String> values) {
            addCriterion("equipment.exStr6 in", values, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6NotIn(List<String> values) {
            addCriterion("equipment.exStr6 not in", values, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6Between(String value1, String value2) {
            addCriterion("equipment.exStr6 between", value1, value2, "exstr6");
            return (Criteria) this;
        }

        public Criteria andExstr6NotBetween(String value1, String value2) {
            addCriterion("equipment.exStr6 not between", value1, value2, "exstr6");
            return (Criteria) this;
        }

        public Criteria andTime1IsNull() {
            addCriterion("equipment.time1 is null");
            return (Criteria) this;
        }

        public Criteria andTime1IsNotNull() {
            addCriterion("equipment.time1 is not null");
            return (Criteria) this;
        }

        public Criteria andTime1EqualTo(Date value) {
            addCriterion("equipment.time1 =", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1NotEqualTo(Date value) {
            addCriterion("equipment.time1 <>", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1GreaterThan(Date value) {
            addCriterion("equipment.time1 >", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1GreaterThanOrEqualTo(Date value) {
            addCriterion("equipment.time1 >=", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1LessThan(Date value) {
            addCriterion("equipment.time1 <", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1LessThanOrEqualTo(Date value) {
            addCriterion("equipment.time1 <=", value, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1In(List<Date> values) {
            addCriterion("equipment.time1 in", values, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1NotIn(List<Date> values) {
            addCriterion("equipment.time1 not in", values, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1Between(Date value1, Date value2) {
            addCriterion("equipment.time1 between", value1, value2, "time1");
            return (Criteria) this;
        }

        public Criteria andTime1NotBetween(Date value1, Date value2) {
            addCriterion("equipment.time1 not between", value1, value2, "time1");
            return (Criteria) this;
        }

        public Criteria andTime2IsNull() {
            addCriterion("equipment.time2 is null");
            return (Criteria) this;
        }

        public Criteria andTime2IsNotNull() {
            addCriterion("equipment.time2 is not null");
            return (Criteria) this;
        }

        public Criteria andTime2EqualTo(Date value) {
            addCriterion("equipment.time2 =", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2NotEqualTo(Date value) {
            addCriterion("equipment.time2 <>", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2GreaterThan(Date value) {
            addCriterion("equipment.time2 >", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2GreaterThanOrEqualTo(Date value) {
            addCriterion("equipment.time2 >=", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2LessThan(Date value) {
            addCriterion("equipment.time2 <", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2LessThanOrEqualTo(Date value) {
            addCriterion("equipment.time2 <=", value, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2In(List<Date> values) {
            addCriterion("equipment.time2 in", values, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2NotIn(List<Date> values) {
            addCriterion("equipment.time2 not in", values, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2Between(Date value1, Date value2) {
            addCriterion("equipment.time2 between", value1, value2, "time2");
            return (Criteria) this;
        }

        public Criteria andTime2NotBetween(Date value1, Date value2) {
            addCriterion("equipment.time2 not between", value1, value2, "time2");
            return (Criteria) this;
        }

        public Criteria andTime3IsNull() {
            addCriterion("equipment.time3 is null");
            return (Criteria) this;
        }

        public Criteria andTime3IsNotNull() {
            addCriterion("equipment.time3 is not null");
            return (Criteria) this;
        }

        public Criteria andTime3EqualTo(Date value) {
            addCriterion("equipment.time3 =", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3NotEqualTo(Date value) {
            addCriterion("equipment.time3 <>", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3GreaterThan(Date value) {
            addCriterion("equipment.time3 >", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3GreaterThanOrEqualTo(Date value) {
            addCriterion("equipment.time3 >=", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3LessThan(Date value) {
            addCriterion("equipment.time3 <", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3LessThanOrEqualTo(Date value) {
            addCriterion("equipment.time3 <=", value, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3In(List<Date> values) {
            addCriterion("equipment.time3 in", values, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3NotIn(List<Date> values) {
            addCriterion("equipment.time3 not in", values, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3Between(Date value1, Date value2) {
            addCriterion("equipment.time3 between", value1, value2, "time3");
            return (Criteria) this;
        }

        public Criteria andTime3NotBetween(Date value1, Date value2) {
            addCriterion("equipment.time3 not between", value1, value2, "time3");
            return (Criteria) this;
        }

        public Criteria andTime4IsNull() {
            addCriterion("equipment.time4 is null");
            return (Criteria) this;
        }

        public Criteria andTime4IsNotNull() {
            addCriterion("equipment.time4 is not null");
            return (Criteria) this;
        }

        public Criteria andTime4EqualTo(Date value) {
            addCriterion("equipment.time4 =", value, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4NotEqualTo(Date value) {
            addCriterion("equipment.time4 <>", value, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4GreaterThan(Date value) {
            addCriterion("equipment.time4 >", value, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4GreaterThanOrEqualTo(Date value) {
            addCriterion("equipment.time4 >=", value, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4LessThan(Date value) {
            addCriterion("equipment.time4 <", value, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4LessThanOrEqualTo(Date value) {
            addCriterion("equipment.time4 <=", value, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4In(List<Date> values) {
            addCriterion("equipment.time4 in", values, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4NotIn(List<Date> values) {
            addCriterion("equipment.time4 not in", values, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4Between(Date value1, Date value2) {
            addCriterion("equipment.time4 between", value1, value2, "time4");
            return (Criteria) this;
        }

        public Criteria andTime4NotBetween(Date value1, Date value2) {
            addCriterion("equipment.time4 not between", value1, value2, "time4");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}